home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000082_icon-group-sender _Fri Jun 12 13:00:45 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id NAA10438
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Fri, 12 Jun 1998 13:00:44 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA09724; Fri, 12 Jun 1998 13:00:36 -0700
Message-Id: <3.0.5.32.19980612110154.00a1de00@post.its.mcw.edu>
X-Sender: cdt@post.its.mcw.edu
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Fri, 12 Jun 1998 11:01:54 -0500
To: icon-group@optima.CS.Arizona.EDU
From: Chris Tenaglia <cdt@post.its.mcw.edu>
Subject: cgi progress
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1071
Many thanks again to those pointing out typos
and nuances. The next hurdle has to do with the
FORM
<Form action="http://www.mcw.edu/cgi-bin/bioet/iconx?docgi" method=post>
This works. icont actually generates a shell script
with a binary icode attachment. For some reason
the http server did not like that script. It looks like:
-------------------------------------------------------------------------
#!/bin/sh
case $# in
0) exec "${ICONX-/db1/local/httpd/cgi-bin/bioet/iconx}" "$0";;
*) exec "${ICONX-/db1/local/httpd/cgi-bin/bioet/iconx}" "$0" "$@";;
esac
[executable Icon binary follows]
...
-------------------------------------------------------------------------
But iconx can skip over the script and run the
icode. Nifty.
So next comes passing parameters. I now the form
should be using name/value pairs.
<Form method=post
action="http://www.mcw.edu/cgi-bin/bioet/iconx?docgi=1&value1=name1">
doesn't seem to work. Unfortunately they've removed the c compilers
so I can't generate a compiled executable via iconc. Any other tips?
Regards,
Chris.